package backend_package;

/**
 * @author Eva Revear
 * 
 * @date 12-2-14
 * 
 *       This class is a note object that holds a question and answer as typed
 *       in by the user into the add question and answer panel
 * */
public class Notes {

	/** String question */
	private String myQuestion;
	/** String myAnswer */
	private String myAnswer;

	/**
	 * Constructor of note class
	 * 
	 * @author Eva
	 * @param theQsuestion
	 * @param theAnswer
	 */
	public Notes(String theQuestion, String theAnswer) {

		myQuestion = theQuestion;

		myAnswer = theAnswer;

	}

	/**
	 * Sets the questions
	 * 
	 * @author Eva
	 * @param theQuestion
	 */
	void setQuestion(String theQuestion) {
		myQuestion = theQuestion;
	}

	/**
	 * Sets the Answer
	 * 
	 * @author EVa
	 * @param theAnswer
	 */
	void setAnswer(String theAnswer) {
		myAnswer = theAnswer;
	}

	/**
	 * Get the question
	 * 
	 * @author Eva
	 * @return myQuestion
	 */
	public String getQuestion() {
		return myQuestion;
	}

	/**
	 * Get answer
	 * 
	 * @author EVa
	 * @return myAnswer
	 */
	public String getAnswer() {
		return myAnswer;
	}

}
